package com.css.fxfzypg.modules.suggestinfo.manage.emergencydisasterManage.repository;

import com.css.fxfzypg.modules.suggestinfo.analysis.suggestionanalysis.vo.ParamsVo;
import com.css.fxfzypg.modules.suggestinfo.manage.emergencydisasterManage.repository.entity.EmergencyDisasterManageEntity;
import com.css.fxfzypg.modules.suggestinfo.manage.vo.ParamVo;

import java.util.List;
import java.util.Map;

public interface EmergencyDisasterManageRepository {
    boolean save(EmergencyDisasterManageEntity emergencyDisasterManageEntity);

    EmergencyDisasterManageEntity getDataById(String id);

    Map<String, Object> getDataList(ParamVo paramVo, int curPage, int pageSize);

    boolean update(EmergencyDisasterManageEntity emergencyDisasterManageEntity);

    boolean delete(String id);

    int getCount(String provinceId, String cityId, String areaId);

    String getId(String provinceId, String cityId, String areaId);

    EmergencyDisasterManageEntity getEmergencyDisasterManageData(ParamsVo paramsVo);

    List<EmergencyDisasterManageEntity> getEmergencyDisasterManageAreaData(ParamsVo paramsVo);

    EmergencyDisasterManageEntity getByProvinceCityCounty(String provinceId, String cityId, String areaId);

    Integer countByCounty(String p, String city, String county);
}
